package com.yjt.admin.system.entity;

import com.yjt.common.entity.CommonEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 组织上级领导关系表
 * </p>
 *
 * @author zzp
 * @since 2021-10-14
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
@TableName("b_org_super_leader")
@ApiModel(value="OrgSuperLeader对象", description="组织上级领导关系表")
public class OrgSuperLeader implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "组织集团上级领导关系id")
    @TableId(value = "org_super_leader_id", type = IdType.ASSIGN_ID)
    private String orgSuperLeaderId;

    @ApiModelProperty(value = "员工或者岗位id")
    private String emplyOrPostId;

    @ApiModelProperty(value = "组织id")
    private String orgId;


}
